Skip to content

Expose replace* methods 2.X - #2326

Closed
Amir-61 wants to merge 2 commits into
masterfrom
expose_replace_methods_2X
Closed

Expose replace* methods 2.X#2326
Amir-61 wants to merge 2 commits into
masterfrom
expose_replace_methods_2X

Conversation

@Amir-61

@Amir-61 Amir-61 commented May 10, 2016

Copy link
Copy Markdown
Member
Description:
  • updateAttributes and updateOrCreate endpoints use PATCH verb by default .
  • Exposed replaceById and replaceORCreate via PATCH verb by default.
  • Add a flag model.settings.options.newMapping for 2.X to get 3.X behaviour

Note: This patch is for 2.X to be backported.

TODO:
  • Add a test which confirms the functionality of flag newMapping for 2.x

@Amir-61 Amir-61 closed this May 11, 2016
@Amir-61 Amir-61 removed the #review label May 11, 2016
@Amir-61
Amir-61 deleted the expose_replace_methods_2X branch May 11, 2016 01:36
@Amir-61
Amir-61 restored the expose_replace_methods_2X branch May 11, 2016 01:43
@Amir-61 Amir-61 reopened this May 11, 2016
@Amir-61

Amir-61 commented May 11, 2016

Copy link
Copy Markdown
Member Author

Closing because it was against master branch as opposed to 2.x brnach

@Amir-61 Amir-61 closed this May 11, 2016
@Amir-61 Amir-61 removed the #review label May 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant